package org.example;

public enum MyEnum {
  RED("red", 100),
  GREEN("red", 100),
  RED_BLACK("red", 100),
  BLACK("red", 100);

  private String name;
  private Integer value;

  MyEnum(String name, Integer value) {
    this.name = name;
    this.value = value;
  }

  public String getName() {
    return name;
  }

  public Integer getValue() {
    return value;
  }
}
